﻿@model ArchiveViewModel
@{
    EClassify classify = Model.Classify;
    List<ENews> articleList = Model.ArchiveList;
}
@{
    ViewBag.Title = classify.Title;
    Layout = "~/Areas/HomePage/Views/Shared/_DefaultLayout.cshtml";
}
@section CssLink{
    <link href="@Url.Content("~/Css/HomePage/ArchiveList.css")" rel="stylesheet" type="text/css" />
}
<div class="left">
    <div class="headr">
    </div>
    <div class="nav">
        @{Html.RenderAction("GetClassiyfByTagName", "Home", new { tagName = Model.Classify.ETag, template = "LeftNavigator" });}
    </div>
    <div>
    </div>
    <div>
        @{ 
            Html.RenderAction("SysBrand", "Archive", new { eTag = "站点公告", pageSize = 10 });}
    </div>
</div>
<div class="right">
    <div class="newsBox">
        <div class="title">
            <strong>@classify.Title</strong>
        </div>
        <div class="content">
            <ul>
                @{
                    foreach (var item in Model.ArchiveList)
                    {
                    <li><span class="floatRight">@item.AddDateTime</span>
                        @Html.ActionLink(item.Title, "Article", "Archive", new { tagName = ChineseCharHelper.ConvertToPinYin(item.ETag, "-") }, null)</li>
                    }
                }
            </ul>
        </div>
        <div class="bottom">
        </div>
    </div>
</div>
